//
//  AyTabBar.h
//  xWeibo
//
//  Created by alvis mac on 8/1/15.
//  Copyright (c) 2015 alvis. All rights reserved.
//

#import <UIKit/UIKit.h>
@class AyTabBar;

@protocol AyTabBarDelegate <NSObject>

@optional
- (void) tabBar:(AyTabBar *) tabBar didSelectedButtonFrom:(int) from to:(int) to;
- (void) tabBarDidClickedPlusButton:(AyTabBar*) tabBar;
@end



@interface AyTabBar : UIView

@property (nonatomic,weak) id<AyTabBarDelegate> delegate;
- (void)addTabBarButtonWithItem:(UITabBarItem *)item;

@end
